package com.bnz.service;

import com.bnz.pojo.PageResult;
import com.bnz.pojo.Student;

import java.util.List;

public interface StudentService {

    List<Student> findAll();


    PageResult<Student> findByPage(int page, int pageSize);

    PageResult<Student> search(int page, int pageSize, Student student);

    void add(Student student);
}
